#ifndef RAWFILEPLUGIN_H
#define RAWFILEPLUGIN_H

#include "../data/fileplugin.h"

namespace PBVP {
	/// 
	class RawFilePlugin : public QObject, public FilePluginInterface
	{
		Q_OBJECT
		Q_INTERFACES(PBVP::FilePluginInterface)

	public:
		virtual ~RawFilePlugin() {}

		virtual QString description() const {
			return QString("Access .raw geometry file");
		}

		/// 
		virtual void initialize(MainInterface* pMainInterface);

		/// 
		virtual void unload();

		/// 
		virtual DataSetType type() const {
			return GEOMETRY_DATA;
		}

		virtual QString extension() const {
			return QString(".raw");
		}

		/// 
		virtual DataInterface* loadFile(const QString &fname);

		/// 
		virtual bool saveFile(DataInterface* pData, const QString &fname);
	private:
		//DataManager *m_pDataManager;
	};
}
#endif